export default function () {
  return this.createNode({
    shape: 'custom-electric',
    width: 18,
    height: 12,
    markup: [
      {
        tagName: 'g',
        selector: 'group3',
        children: [
          {
            tagName: 'rect',
            selector: 'line3',
            groupSelector: 'line',
            attrs: {
              x: 9,
              y: 0
            }
          },
          {
            tagName: 'rect',
            selector: 'transverseLine3_1',
            groupSelector: 'transverseLine',
            attrs: {
              x: 0,
              y: 6,
              width: 18
            }
          },
          {
            tagName: 'rect',
            selector: 'transverseLine3_2',
            groupSelector: 'transverseLine',
            attrs: {
              x: 2,
              y: 9,
              width: 14
            }
          },
          {
            tagName: 'rect',
            selector: 'transverseLine3_3',
            groupSelector: 'transverseLine',
            attrs: {
              x: 4,
              y: 12,
              width: 10
            }
          }
        ]
      }
    ],
    attrs: {
      line: {
        width: 0.1,
        height: 6
      },
      transverseLine: {
        height: 0.1
      }
    },
    ports: {
      items: [
        {
          group: 'top'
        }
      ]
    }
  })
}
